Bitmap for WPF
Create(RenderTarget,Surface,Nullable<BitmapProperties>) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > Bitmap クラス > Create メソッド : Create(RenderTarget,Surface,Nullable<BitmapProperties>) メソッド
an instance of RenderTarget
An C1.Util.DX.DXGI.Surfacethat contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.
The pixel format and DPI of the bitmap to create . The C1.Util.DX.DXGI.Formatportion of the pixel format must match the C1.Util.DX.DXGI.Formatof data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.
Creates an Bitmapwhose data is shared with another resource.
シンタックス
'宣言
 
Public Overloads Shared Function Create( _
   ByVal renderTarget As RenderTarget, _
   ByVal surface As Surface, _
   ByVal bitmapProperties As System.Nullable(Of BitmapProperties) _
) As Bitmap
public static Bitmap Create( 
   RenderTarget renderTarget,
   Surface surface,
   System.Nullable<BitmapProperties> bitmapProperties
)

パラメータ

renderTarget
an instance of RenderTarget
surface
An C1.Util.DX.DXGI.Surfacethat contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.
bitmapProperties
The pixel format and DPI of the bitmap to create . The C1.Util.DX.DXGI.Formatportion of the pixel format must match the C1.Util.DX.DXGI.Formatof data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.
参照

Bitmap クラス
Bitmap メンバ
オーバーロード一覧